<template>
    <h1>APP组件</h1>
</template>

<script>
import { isProxy, isReactive, isReadonly, isRef, reactive, readonly, ref } from 'vue';

export default {
  name: 'App',
  setup() {
    let msg = ref("msg");
    let car = reactive({
      name: '奔驰',
      price: '40W'
    });
    let readonlyCar = readonly(car);
    console.log("isRef-- ", isRef(msg));
    console.log("isReactive-- ", isReactive(car));
    console.log("isReadonly-- ", isReadonly(readonlyCar));
    console.log("isProxy-- ", isProxy(car));

    return {}
  }
}
</script>

<style>
</style>
